from operator import indexOf, truediv


list3=["张三","李四","王五","马六","吴七"]
findname=input("请输入你要查找的名字：")
i=0
while i<5:
  if findname==list3[i]:
    print("您查找的名字在列表中")
    print("下标为",i)
    break
  else: 
    i+=1
    print("没有查询结果")
    
